package com.szdvte.news.dao.impl;

import java.sql.SQLException;

import com.szdvte.news.bean.NewsCollect;
import com.szdvte.news.dao.INewsCollectDao;

public class NewsCollectDaoImpl extends BaseDaoImpl implements INewsCollectDao {

	@Override
	public boolean add(NewsCollect collect) {
		boolean flag = false;
		try {
			getSqlMapClient().insert("newsCollect.add",collect);
			flag = true;
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return flag;
	}

}
